package com.ctshk.rpc.system.enums;

public enum PermissionType {

    ALL(1, "全公司"),
    DEPT(2, "仅部门"),
    THIS(3, "仅自己"),
    AT_WILL(4, "自定义"),
    ;

    private Integer code;
    private String msg;

    PermissionType(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
